#include<iostream>
#include<Eigen/Dense>

using namespace std;
using namespace Eigen;


int main()
{

	MatrixXd m(10, 10);


	m <<
		1, 11, 3, 4, 5, 6, 7, 8, 9, 0,
		1, 2, 11, 4, 5, 6, 7, 8, 9, 0,
		1, 2, 3, 11, 5, 6, 7, 8, 9, 0,
		1, 2, 3, 4, 11, 6, 7, 8, 9, 0,
		1, 2, 3, 4, 5, 11, 7, 8, 9, 0,
		1, 2, 3, 4, 5, 6, 11, 8, 9, 0,
		1, 2, 3, 4, 5, 6, 7, 11, 9, 0,
		1, 2, 3, 4, 5, 6, 7, 8, 11, 0,
		1, 2, 3, 4, 5, 6, 7, 8, 9, 11,
		11, 2, 3, 4, 5, 6, 7, 8, 9, 0;

	cout << m << endl;

	cout << m.determinant() << endl;


	MatrixXd mat1(3, 3); // Example matrix 1
	mat1 << 1, 2, 3,
		4, 5, 6,
		7, 8, 9;

	MatrixXd mat2(3, 3); // Example matrix 2
	mat2 << 9, 8, 7,
		6, 5, 4,
		3, 2, 1;

	// Compute the dot product using dot()
	mat1 = mat1.cwiseProduct(mat2);

	cout << mat1 << endl;


	return 0;
}